<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #c{
            display: none;
        }
    </style>
</head>
<body>
    <input type="button" value="点" onclick="f2()">
    <div id="c"> <h1>Ajax</h1> </div>
    <script src="jquery-3.5.1.min.js"></script>
    <script>
        function f1() {
            let user = {name:"a",age:25,sex:"男"}
            console.log(user["name"]);
            console.log(user['age']);
            console.log(user.sex);
            JSON.parse(typeof user);
            JSON.stringify(user);

        }
        function f2() {

            $.ajax({

                type:"get",
                success:function () {
                console.log("彳亍")

                }
            });

            ht = $.ajax({url: "/jquery/text1.txt", async: false})
            $("c").html(ht.responseText)

        }
        function f3(){

        }
        
    </script>


</body>
</html>